package com.limboline.bssystem.entity;

public class CommodityEntity {
    private Integer id;

    private String title;

    private String picUrl;

    private String summary;

    private Double price;

    private Long publishDate;

    private Long modifyDate;

    private Long purchaseDate;

    private Integer num;

    private String seller;

    private String description;

    public CommodityEntity(Integer id, String title, String picUrl, String summary, Double price, Long publishDate, Long modifyDate, Long purchaseDate, Integer num, String seller, String description) {
        this.id = id;
        this.title = title;
        this.picUrl = picUrl;
        this.summary = summary;
        this.price = price;
        this.publishDate = publishDate;
        this.modifyDate = modifyDate;
        this.purchaseDate = purchaseDate;
        this.num = num;
        this.seller = seller;
        this.description = description;
    }

    public CommodityEntity() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl == null ? null : picUrl.trim();
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary == null ? null : summary.trim();
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Long getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(Long publishDate) {
        this.publishDate = publishDate;
    }

    public Long getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Long modifyDate) {
        this.modifyDate = modifyDate;
    }

    public Long getPurchaseDate() {
        return purchaseDate;
    }

    public void setPurchaseDate(Long purchaseDate) {
        this.purchaseDate = purchaseDate;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getSeller() {
        return seller;
    }

    public void setSeller(String seller) {
        this.seller = seller == null ? null : seller.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }
}